name: tests_hybrid run_id: commands[0] env HOME: /home/jenkins env LANG: C.UTF-8 env PATH: /w/workspace/transportpce-tox-verify-calcium/.tox/tests_hybrid/bin:/opt/pyenv/bin:/tmp/venv-H8Br/bin:/opt/pyenv/shims:/home/jenkins/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/puppetlabs/bin env PYTHONHASHSEED: 1637437963 env PIP_DISABLE_PIP_VERSION_CHECK: 1 env PYTHONIOENCODING: utf-8 env USE_ODL_ALT_KARAF_ENV: ./karaf121.env env USE_ODL_ALT_KARAF_INSTALL_DIR: karaf_hybrid env TOX_ENV_NAME: tests_hybrid env TOX_WORK_DIR: /w/workspace/transportpce-tox-verify-calcium/.tox env TOX_ENV_DIR: /w/workspace/transportpce-tox-verify-calcium/.tox/tests_hybrid env VIRTUAL_ENV: /w/workspace/transportpce-tox-verify-calcium/.tox/tests_hybrid metadata pid: 57339 cwd: /w/workspace/transportpce-tox-verify-calcium/tests allow: /w/workspace/transportpce-tox-verify-calcium/.tox/tests_hybrid/bin/*:launch_tests.sh cmd: ./launch_tests.sh hybrid exit_code: 1 using environment variables from ./karaf121.env pytest -q transportpce_tests/hybrid/test01_device_change_notifications.py ................................................... [100%] 51 passed in 332.68s (0:05:32) pytest -q transportpce_tests/hybrid/test02_B100G_end2end.py FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF [ 66%] FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF [100%] =================================== FAILURES =================================== _________________ TransportPCEtesting.test_001_connect_xpdra2 __________________ self = def test_001_connect_xpdra2(self): response = test_utils.mount_device("XPDR-A2", ('xpdra2', self.NODE_VERSION_71)) > self.assertEqual(response.status_code, requests.codes.created, test_utils.CODE_SHOULD_BE_201) E AssertionError: 500 != 201 : Http status code should be 201 transportpce_tests/hybrid/test02_B100G_end2end.py:160: AssertionError ---------------------------- Captured stdout setup ----------------------------- starting OpenDaylight... starting KARAF TransportPCE build... Searching for pattern 'Transportpce controller started' in karaf.log... Pattern found! OpenDaylight started ! starting simulator xpdra2 in OpenROADM device version 7.1... Searching for pattern 'Data tree change listeners registered' in xpdra2-71.log... Pattern found! simulator for xpdra2 started starting simulator roadma in OpenROADM device version 2.2.1... Searching for pattern 'Data tree change listeners registered' in roadma-221.log... Pattern found! simulator for roadma started starting simulator roadmc in OpenROADM device version 2.2.1... Searching for pattern 'Data tree change listeners registered' in roadmc-221.log... Pattern found! simulator for roadmc started starting simulator xpdrc2 in OpenROADM device version 7.1... Searching for pattern 'Data tree change listeners registered' in xpdrc2-71.log... Pattern found! simulator for xpdrc2 started ----------------------------- Captured stdout call ----------------------------- Searching for pattern 'Triggering notification stream NETCONF for node XPDR-A2' in karaf.log... Pattern not found after 180 seconds! Node XPDR-A2 still not added to tpce topology... _________________ TransportPCEtesting.test_002_connect_xpdrc2 __________________ self = def test_002_connect_xpdrc2(self): response = test_utils.mount_device("XPDR-C2", ('xpdrc2', self.NODE_VERSION_71)) > self.assertEqual(response.status_code, requests.codes.created, test_utils.CODE_SHOULD_BE_201) E AssertionError: 500 != 201 : Http status code should be 201 transportpce_tests/hybrid/test02_B100G_end2end.py:165: AssertionError ----------------------------- Captured stdout call ----------------------------- Searching for pattern 'Triggering notification stream NETCONF for node XPDR-C2' in karaf.log... Pattern not found after 180 seconds! Node XPDR-C2 still not added to tpce topology... __________________ TransportPCEtesting.test_003_connect_rdma ___________________ self = def test_003_connect_rdma(self): response = test_utils.mount_device("ROADM-A1", ('roadma', self.NODE_VERSION_221)) > self.assertEqual(response.status_code, requests.codes.created, test_utils.CODE_SHOULD_BE_201) E AssertionError: 500 != 201 : Http status code should be 201 transportpce_tests/hybrid/test02_B100G_end2end.py:170: AssertionError ----------------------------- Captured stdout call ----------------------------- Searching for pattern 'Triggering notification stream NETCONF for node ROADM-A1' in karaf.log... Pattern not found after 180 seconds! Node ROADM-A1 still not added to tpce topology... __________________ TransportPCEtesting.test_004_connect_rdmc ___________________ self = def test_004_connect_rdmc(self): response = test_utils.mount_device("ROADM-C1", ('roadmc', self.NODE_VERSION_221)) > self.assertEqual(response.status_code, requests.codes.created, test_utils.CODE_SHOULD_BE_201) E AssertionError: 500 != 201 : Http status code should be 201 transportpce_tests/hybrid/test02_B100G_end2end.py:175: AssertionError ----------------------------- Captured stdout call ----------------------------- Searching for pattern 'Triggering notification stream NETCONF for node ROADM-C1' in karaf.log... Pattern not found after 180 seconds! Node ROADM-C1 still not added to tpce topology... ________ TransportPCEtesting.test_005_connect_xpdra2_2_N1_to_roadma_PP2 ________ self = def test_005_connect_xpdra2_2_N1_to_roadma_PP2(self): response = test_utils.transportpce_api_rpc_request( 'transportpce-networkutils', 'init-xpdr-rdm-links', {'links-input': {'xpdr-node': 'XPDR-A2', 'xpdr-num': '2', 'network-num': '1', 'rdm-node': 'ROADM-A1', 'srg-num': '1', 'termination-point-num': 'SRG1-PP2-TXRX'}}) > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 500 != 200 transportpce_tests/hybrid/test02_B100G_end2end.py:183: AssertionError ________ TransportPCEtesting.test_006_connect_roadma_PP2_to_xpdra2_2_N1 ________ self = def test_006_connect_roadma_PP2_to_xpdra2_2_N1(self): response = test_utils.transportpce_api_rpc_request( 'transportpce-networkutils', 'init-rdm-xpdr-links', {'links-input': {'xpdr-node': 'XPDR-A2', 'xpdr-num': '2', 'network-num': '1', 'rdm-node': 'ROADM-A1', 'srg-num': '1', 'termination-point-num': 'SRG1-PP2-TXRX'}}) > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 500 != 200 transportpce_tests/hybrid/test02_B100G_end2end.py:191: AssertionError ________ TransportPCEtesting.test_007_connect_xpdrc2_2_N1_to_roadmc_PP2 ________ self = def test_007_connect_xpdrc2_2_N1_to_roadmc_PP2(self): response = test_utils.transportpce_api_rpc_request( 'transportpce-networkutils', 'init-xpdr-rdm-links', {'links-input': {'xpdr-node': 'XPDR-C2', 'xpdr-num': '2', 'network-num': '1', 'rdm-node': 'ROADM-C1', 'srg-num': '1', 'termination-point-num': 'SRG1-PP2-TXRX'}}) > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 500 != 200 transportpce_tests/hybrid/test02_B100G_end2end.py:199: AssertionError ________ TransportPCEtesting.test_008_connect_roadmc_PP2_to_xpdrc2_2_N1 ________ self = def test_008_connect_roadmc_PP2_to_xpdrc2_2_N1(self): response = test_utils.transportpce_api_rpc_request( 'transportpce-networkutils', 'init-rdm-xpdr-links', {'links-input': {'xpdr-node': 'XPDR-C2', 'xpdr-num': '2', 'network-num': '1', 'rdm-node': 'ROADM-C1', 'srg-num': '1', 'termination-point-num': 'SRG1-PP2-TXRX'}}) > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 500 != 200 transportpce_tests/hybrid/test02_B100G_end2end.py:207: AssertionError _________ TransportPCEtesting.test_009_add_omsAttributes_roadma_roadmc _________ self = def test_009_add_omsAttributes_roadma_roadmc(self): # Config ROADMA-ROADMC oms-attributes data = {"span": { "auto-spanloss": "true", "spanloss-base": 11.4, "spanloss-current": 12, "engineered-spanloss": 12.2, "link-concatenation": [{ "SRLG-Id": 0, "fiber-type": "smf", "SRLG-length": 100000, "pmd": 0.5}]}} response = test_utils.add_oms_attr_request( "ROADM-A1-DEG2-DEG2-TTP-TXRXtoROADM-C1-DEG1-DEG1-TTP-TXRX", data) > self.assertEqual(response.status_code, requests.codes.created) E AssertionError: 500 != 201 transportpce_tests/hybrid/test02_B100G_end2end.py:224: AssertionError _________ TransportPCEtesting.test_010_add_omsAttributes_roadmc_roadma _________ self = def test_010_add_omsAttributes_roadmc_roadma(self): # Config ROADMC-ROADMA oms-attributes data = {"span": { "auto-spanloss": "true", "spanloss-base": 11.4, "spanloss-current": 12, "engineered-spanloss": 12.2, "link-concatenation": [{ "SRLG-Id": 0, "fiber-type": "smf", "SRLG-length": 100000, "pmd": 0.5}]}} response = test_utils.add_oms_attr_request( "ROADM-C1-DEG1-DEG1-TTP-TXRXtoROADM-A1-DEG2-DEG2-TTP-TXRX", data) > self.assertEqual(response.status_code, requests.codes.created) E AssertionError: 500 != 201 transportpce_tests/hybrid/test02_B100G_end2end.py:240: AssertionError _______________ TransportPCEtesting.test_011_check_otn_topology ________________ self = def test_011_check_otn_topology(self): response = test_utils.get_ietf_network_request('otn-topology', 'config') > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 500 != 200 transportpce_tests/hybrid/test02_B100G_end2end.py:245: AssertionError ______________ TransportPCEtesting.test_012_create_OTUC4_service _______________ self = def test_012_create_OTUC4_service(self): response = test_utils.transportpce_api_rpc_request( 'org-openroadm-service', 'service-create', self.cr_serv_input_data) > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 500 != 200 transportpce_tests/hybrid/test02_B100G_end2end.py:253: AssertionError _______________ TransportPCEtesting.test_013_get_OTUC4_service1 ________________ self = def test_013_get_OTUC4_service1(self): > response = test_utils.get_ordm_serv_list_attr_request( "services", "service1-OTUC4") transportpce_tests/hybrid/test02_B100G_end2end.py:259: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ attribute = 'services', value = 'service1-OTUC4' def get_ordm_serv_list_attr_request(attribute: str, value: str): url = {'rfc8040': '{}/data/org-openroadm-service:service-list/{}={}?content=nonconfig', 'draft-bierman02': '{}/operational/org-openroadm-service:service-list/{}/{}'} format_args = ('{}', attribute, value) response = get_request(url[RESTCONF_VERSION].format(*format_args)) res = response.json() return_key = {'rfc8040': 'org-openroadm-service:' + attribute, 'draft-bierman02': attribute} if return_key[RESTCONF_VERSION] in res.keys(): response_attribute = res[return_key[RESTCONF_VERSION]] else: > response_attribute = res['errors']['error'][0] E KeyError: 'errors' transportpce_tests/common/test_utils.py:636: KeyError ___________ TransportPCEtesting.test_014_check_interface_otsi_xpdra2 ___________ self = def test_014_check_interface_otsi_xpdra2(self): response = test_utils.check_node_attribute_request( 'XPDR-A2', 'interface', 'XPDR2-NETWORK1-755:768') > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 500 != 200 transportpce_tests/hybrid/test02_B100G_end2end.py:277: AssertionError ----------------------------- Captured stdout call ----------------------------- Request failed. /rests/data/network-topology:network-topology/topology=topology-netconf/node=XPDR-A2/yang-ext:mount/org-openroadm-device:org-openroadm-device/interface=XPDR2-NETWORK1-755:768 ________ TransportPCEtesting.test_015_check_interface_OTSI_GROUP_xpdra2 ________ self = def test_015_check_interface_OTSI_GROUP_xpdra2(self): response = test_utils.check_node_attribute_request( 'XPDR-A2', 'interface', 'XPDR2-NETWORK1-OTSIGROUP-400G') > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 500 != 200 transportpce_tests/hybrid/test02_B100G_end2end.py:294: AssertionError ----------------------------- Captured stdout call ----------------------------- Request failed. /rests/data/network-topology:network-topology/topology=topology-netconf/node=XPDR-A2/yang-ext:mount/org-openroadm-device:org-openroadm-device/interface=XPDR2-NETWORK1-OTSIGROUP-400G __________ TransportPCEtesting.test_016_check_interface_OTUC4_xpdra2 ___________ self = def test_016_check_interface_OTUC4_xpdra2(self): response = test_utils.check_node_attribute_request( 'XPDR-A2', 'interface', 'XPDR2-NETWORK1-OTUC4') > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 500 != 200 transportpce_tests/hybrid/test02_B100G_end2end.py:315: AssertionError ----------------------------- Captured stdout call ----------------------------- Request failed. /rests/data/network-topology:network-topology/topology=topology-netconf/node=XPDR-A2/yang-ext:mount/org-openroadm-device:org-openroadm-device/interface=XPDR2-NETWORK1-OTUC4 ___________ TransportPCEtesting.test_017_check_interface_otsi_xpdrc2 ___________ self = def test_017_check_interface_otsi_xpdrc2(self): response = test_utils.check_node_attribute_request( 'XPDR-C2', 'interface', 'XPDR2-NETWORK1-755:768') > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 500 != 200 transportpce_tests/hybrid/test02_B100G_end2end.py:341: AssertionError ----------------------------- Captured stdout call ----------------------------- Request failed. /rests/data/network-topology:network-topology/topology=topology-netconf/node=XPDR-C2/yang-ext:mount/org-openroadm-device:org-openroadm-device/interface=XPDR2-NETWORK1-755:768 ________ TransportPCEtesting.test_018_check_interface_OTSI_GROUP_xpdrc2 ________ self = def test_018_check_interface_OTSI_GROUP_xpdrc2(self): response = test_utils.check_node_attribute_request( 'XPDR-C2', 'interface', 'XPDR2-NETWORK1-OTSIGROUP-400G') > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 500 != 200 transportpce_tests/hybrid/test02_B100G_end2end.py:359: AssertionError ----------------------------- Captured stdout call ----------------------------- Request failed. /rests/data/network-topology:network-topology/topology=topology-netconf/node=XPDR-C2/yang-ext:mount/org-openroadm-device:org-openroadm-device/interface=XPDR2-NETWORK1-OTSIGROUP-400G __________ TransportPCEtesting.test_019_check_interface_OTUC4_xpdrc2 ___________ self = def test_019_check_interface_OTUC4_xpdrc2(self): response = test_utils.check_node_attribute_request( 'XPDR-C2', 'interface', 'XPDR2-NETWORK1-OTUC4') > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 500 != 200 transportpce_tests/hybrid/test02_B100G_end2end.py:380: AssertionError ----------------------------- Captured stdout call ----------------------------- Request failed. /rests/data/network-topology:network-topology/topology=topology-netconf/node=XPDR-C2/yang-ext:mount/org-openroadm-device:org-openroadm-device/interface=XPDR2-NETWORK1-OTUC4 _________ TransportPCEtesting.test_020_check_no_interface_ODUC4_xpdra2 _________ self = def test_020_check_no_interface_ODUC4_xpdra2(self): response = test_utils.check_node_attribute_request( 'XPDR-A2', 'interface', 'XPDR2-NETWORK1-ODUC4') > self.assertEqual(response['status_code'], requests.codes.conflict) E AssertionError: 500 != 409 transportpce_tests/hybrid/test02_B100G_end2end.py:408: AssertionError ----------------------------- Captured stdout call ----------------------------- Request failed. /rests/data/network-topology:network-topology/topology=topology-netconf/node=XPDR-A2/yang-ext:mount/org-openroadm-device:org-openroadm-device/interface=XPDR2-NETWORK1-ODUC4 ___________ TransportPCEtesting.test_021_check_openroadm_topo_xpdra2 ___________ self = def test_021_check_openroadm_topo_xpdra2(self): response = test_utils.get_ietf_network_node_request('openroadm-topology', 'XPDR-A2-XPDR2', 'config') > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 500 != 200 transportpce_tests/hybrid/test02_B100G_end2end.py:412: AssertionError ___________ TransportPCEtesting.test_022_check_otn_topo_OTUC4_links ____________ self = def test_022_check_otn_topo_OTUC4_links(self): response = test_utils.get_ietf_network_request('otn-topology', 'config') > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 500 != 200 transportpce_tests/hybrid/test02_B100G_end2end.py:424: AssertionError ______________ TransportPCEtesting.test_023_create_ODUC4_service _______________ self = def test_023_create_ODUC4_service(self): self.cr_serv_input_data["service-name"] = "service1-ODUC4" self.cr_serv_input_data["service-a-end"]["service-format"] = "ODU" del self.cr_serv_input_data["service-a-end"]["otu-service-rate"] self.cr_serv_input_data["service-a-end"]["odu-service-rate"] = "org-openroadm-otn-common-types:ODUCn" self.cr_serv_input_data["service-z-end"]["service-format"] = "ODU" del self.cr_serv_input_data["service-z-end"]["otu-service-rate"] self.cr_serv_input_data["service-z-end"]["odu-service-rate"] = "org-openroadm-otn-common-types:ODUCn" response = test_utils.transportpce_api_rpc_request( 'org-openroadm-service', 'service-create', self.cr_serv_input_data) > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 500 != 200 transportpce_tests/hybrid/test02_B100G_end2end.py:448: AssertionError _______________ TransportPCEtesting.test_024_get_ODUC4_service1 ________________ self = def test_024_get_ODUC4_service1(self): > response = test_utils.get_ordm_serv_list_attr_request( "services", "service1-ODUC4") transportpce_tests/hybrid/test02_B100G_end2end.py:454: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ attribute = 'services', value = 'service1-ODUC4' def get_ordm_serv_list_attr_request(attribute: str, value: str): url = {'rfc8040': '{}/data/org-openroadm-service:service-list/{}={}?content=nonconfig', 'draft-bierman02': '{}/operational/org-openroadm-service:service-list/{}/{}'} format_args = ('{}', attribute, value) response = get_request(url[RESTCONF_VERSION].format(*format_args)) res = response.json() return_key = {'rfc8040': 'org-openroadm-service:' + attribute, 'draft-bierman02': attribute} if return_key[RESTCONF_VERSION] in res.keys(): response_attribute = res[return_key[RESTCONF_VERSION]] else: > response_attribute = res['errors']['error'][0] E KeyError: 'errors' transportpce_tests/common/test_utils.py:636: KeyError __________ TransportPCEtesting.test_025_check_interface_ODUC4_xpdra2 ___________ self = def test_025_check_interface_ODUC4_xpdra2(self): response = test_utils.check_node_attribute_request( 'XPDR-A2', 'interface', 'XPDR2-NETWORK1-ODUC4') > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 500 != 200 transportpce_tests/hybrid/test02_B100G_end2end.py:471: AssertionError ----------------------------- Captured stdout call ----------------------------- Request failed. /rests/data/network-topology:network-topology/topology=topology-netconf/node=XPDR-A2/yang-ext:mount/org-openroadm-device:org-openroadm-device/interface=XPDR2-NETWORK1-ODUC4 __________ TransportPCEtesting.test_026_check_interface_ODUC4_xpdrc2 ___________ self = def test_026_check_interface_ODUC4_xpdrc2(self): response = test_utils.check_node_attribute_request( 'XPDR-C2', 'interface', 'XPDR2-NETWORK1-ODUC4') > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 500 != 200 transportpce_tests/hybrid/test02_B100G_end2end.py:497: AssertionError ----------------------------- Captured stdout call ----------------------------- Request failed. /rests/data/network-topology:network-topology/topology=topology-netconf/node=XPDR-C2/yang-ext:mount/org-openroadm-device:org-openroadm-device/interface=XPDR2-NETWORK1-ODUC4 ______________ TransportPCEtesting.test_027_check_otn_topo_links _______________ self = def test_027_check_otn_topo_links(self): response = test_utils.get_ietf_network_request('otn-topology', 'config') > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 500 != 200 transportpce_tests/hybrid/test02_B100G_end2end.py:522: AssertionError ________________ TransportPCEtesting.test_028_check_otn_topo_tp ________________ self = def test_028_check_otn_topo_tp(self): response = test_utils.get_ietf_network_request('otn-topology', 'config') > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 500 != 200 transportpce_tests/hybrid/test02_B100G_end2end.py:550: AssertionError _____________ TransportPCEtesting.test_029_create_100GE_service_1 ______________ self = def test_029_create_100GE_service_1(self): self.cr_serv_input_data["service-name"] = "service-100GE" self.cr_serv_input_data["connection-type"] = "service" self.cr_serv_input_data["service-a-end"]["service-rate"] = "100" self.cr_serv_input_data["service-a-end"]["service-format"] = "Ethernet" del self.cr_serv_input_data["service-a-end"]["odu-service-rate"] self.cr_serv_input_data["service-a-end"]["tx-direction"][0]["port"]["port-name"] = "XPDR2-CLIENT1" self.cr_serv_input_data["service-a-end"]["rx-direction"][0]["port"]["port-name"] = "XPDR2-CLIENT1" self.cr_serv_input_data["service-z-end"]["service-rate"] = "100" self.cr_serv_input_data["service-z-end"]["service-format"] = "Ethernet" del self.cr_serv_input_data["service-z-end"]["odu-service-rate"] self.cr_serv_input_data["service-z-end"]["tx-direction"][0]["port"]["port-name"] = "XPDR2-CLIENT1" self.cr_serv_input_data["service-z-end"]["rx-direction"][0]["port"]["port-name"] = "XPDR2-CLIENT1" response = test_utils.transportpce_api_rpc_request( 'org-openroadm-service', 'service-create', self.cr_serv_input_data) > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 500 != 200 transportpce_tests/hybrid/test02_B100G_end2end.py:580: AssertionError _______________ TransportPCEtesting.test_030_get_100GE_service_1 _______________ self = def test_030_get_100GE_service_1(self): > response = test_utils.get_ordm_serv_list_attr_request( "services", "service-100GE") transportpce_tests/hybrid/test02_B100G_end2end.py:586: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ attribute = 'services', value = 'service-100GE' def get_ordm_serv_list_attr_request(attribute: str, value: str): url = {'rfc8040': '{}/data/org-openroadm-service:service-list/{}={}?content=nonconfig', 'draft-bierman02': '{}/operational/org-openroadm-service:service-list/{}/{}'} format_args = ('{}', attribute, value) response = get_request(url[RESTCONF_VERSION].format(*format_args)) res = response.json() return_key = {'rfc8040': 'org-openroadm-service:' + attribute, 'draft-bierman02': attribute} if return_key[RESTCONF_VERSION] in res.keys(): response_attribute = res[return_key[RESTCONF_VERSION]] else: > response_attribute = res['errors']['error'][0] E KeyError: 'errors' transportpce_tests/common/test_utils.py:636: KeyError _______ TransportPCEtesting.test_031_check_interface_100GE_CLIENT_xpdra2 _______ self = def test_031_check_interface_100GE_CLIENT_xpdra2(self): response = test_utils.check_node_attribute_request( 'XPDR-A2', 'interface', 'XPDR2-CLIENT1-ETHERNET-100G') > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 500 != 200 transportpce_tests/hybrid/test02_B100G_end2end.py:597: AssertionError ----------------------------- Captured stdout call ----------------------------- Request failed. /rests/data/network-topology:network-topology/topology=topology-netconf/node=XPDR-A2/yang-ext:mount/org-openroadm-device:org-openroadm-device/interface=XPDR2-CLIENT1-ETHERNET-100G _______ TransportPCEtesting.test_032_check_interface_ODU4_CLIENT_xpdra2 ________ self = def test_032_check_interface_ODU4_CLIENT_xpdra2(self): response = test_utils.check_node_attribute_request( 'XPDR-A2', 'interface', 'XPDR2-CLIENT1-ODU4:service-100GE') > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 500 != 200 transportpce_tests/hybrid/test02_B100G_end2end.py:614: AssertionError ----------------------------- Captured stdout call ----------------------------- Request failed. /rests/data/network-topology:network-topology/topology=topology-netconf/node=XPDR-A2/yang-ext:mount/org-openroadm-device:org-openroadm-device/interface=XPDR2-CLIENT1-ODU4:service-100GE _______ TransportPCEtesting.test_033_check_interface_ODU4_NETWORK_xpdra2 _______ self = def test_033_check_interface_ODU4_NETWORK_xpdra2(self): response = test_utils.check_node_attribute_request( 'XPDR-A2', 'interface', 'XPDR2-NETWORK1-ODU4:service-100GE') > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 500 != 200 transportpce_tests/hybrid/test02_B100G_end2end.py:638: AssertionError ----------------------------- Captured stdout call ----------------------------- Request failed. /rests/data/network-topology:network-topology/topology=topology-netconf/node=XPDR-A2/yang-ext:mount/org-openroadm-device:org-openroadm-device/interface=XPDR2-NETWORK1-ODU4:service-100GE __________ TransportPCEtesting.test_034_check_ODU4_connection_xpdra2 ___________ self = def test_034_check_ODU4_connection_xpdra2(self): response = test_utils.check_node_attribute_request( 'XPDR-A2', 'odu-connection', 'XPDR2-CLIENT1-ODU4-x-XPDR2-NETWORK1-ODU4') > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 500 != 200 transportpce_tests/hybrid/test02_B100G_end2end.py:668: AssertionError ----------------------------- Captured stdout call ----------------------------- Request failed. /rests/data/network-topology:network-topology/topology=topology-netconf/node=XPDR-A2/yang-ext:mount/org-openroadm-device:org-openroadm-device/odu-connection=XPDR2-CLIENT1-ODU4-x-XPDR2-NETWORK1-ODU4 _______ TransportPCEtesting.test_035_check_interface_100GE_CLIENT_xpdrc2 _______ self = def test_035_check_interface_100GE_CLIENT_xpdrc2(self): response = test_utils.check_node_attribute_request( 'XPDR-C2', 'interface', 'XPDR2-CLIENT1-ETHERNET-100G') > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 500 != 200 transportpce_tests/hybrid/test02_B100G_end2end.py:685: AssertionError ----------------------------- Captured stdout call ----------------------------- Request failed. /rests/data/network-topology:network-topology/topology=topology-netconf/node=XPDR-C2/yang-ext:mount/org-openroadm-device:org-openroadm-device/interface=XPDR2-CLIENT1-ETHERNET-100G _______ TransportPCEtesting.test_036_check_interface_ODU4_CLIENT_xpdrc2 ________ self = def test_036_check_interface_ODU4_CLIENT_xpdrc2(self): response = test_utils.check_node_attribute_request( 'XPDR-C2', 'interface', 'XPDR2-CLIENT1-ODU4:service-100GE') > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 500 != 200 transportpce_tests/hybrid/test02_B100G_end2end.py:702: AssertionError ----------------------------- Captured stdout call ----------------------------- Request failed. /rests/data/network-topology:network-topology/topology=topology-netconf/node=XPDR-C2/yang-ext:mount/org-openroadm-device:org-openroadm-device/interface=XPDR2-CLIENT1-ODU4:service-100GE _______ TransportPCEtesting.test_037_check_interface_ODU4_NETWORK_xpdrc2 _______ self = def test_037_check_interface_ODU4_NETWORK_xpdrc2(self): response = test_utils.check_node_attribute_request( 'XPDR-C2', 'interface', 'XPDR2-NETWORK1-ODU4:service-100GE') > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 500 != 200 transportpce_tests/hybrid/test02_B100G_end2end.py:726: AssertionError ----------------------------- Captured stdout call ----------------------------- Request failed. /rests/data/network-topology:network-topology/topology=topology-netconf/node=XPDR-C2/yang-ext:mount/org-openroadm-device:org-openroadm-device/interface=XPDR2-NETWORK1-ODU4:service-100GE __________ TransportPCEtesting.test_038_check_ODU4_connection_xpdrc2 ___________ self = def test_038_check_ODU4_connection_xpdrc2(self): response = test_utils.check_node_attribute_request( 'XPDR-C2', 'odu-connection', 'XPDR2-CLIENT1-ODU4-x-XPDR2-NETWORK1-ODU4') > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 500 != 200 transportpce_tests/hybrid/test02_B100G_end2end.py:762: AssertionError ----------------------------- Captured stdout call ----------------------------- Request failed. /rests/data/network-topology:network-topology/topology=topology-netconf/node=XPDR-C2/yang-ext:mount/org-openroadm-device:org-openroadm-device/odu-connection=XPDR2-CLIENT1-ODU4-x-XPDR2-NETWORK1-ODU4 ______________ TransportPCEtesting.test_039_check_otn_topo_links _______________ self = def test_039_check_otn_topo_links(self): response = test_utils.get_ietf_network_request('otn-topology', 'config') > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 500 != 200 transportpce_tests/hybrid/test02_B100G_end2end.py:778: AssertionError ________________ TransportPCEtesting.test_040_check_otn_topo_tp ________________ self = def test_040_check_otn_topo_tp(self): response = test_utils.get_ietf_network_request('otn-topology', 'config') > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 500 != 200 transportpce_tests/hybrid/test02_B100G_end2end.py:791: AssertionError _____________ TransportPCEtesting.test_041_create_100GE_service_2 ______________ self = def test_041_create_100GE_service_2(self): self.cr_serv_input_data["service-name"] = "service-100GE2" self.cr_serv_input_data["connection-type"] = "service" self.cr_serv_input_data["service-a-end"]["service-rate"] = "100" self.cr_serv_input_data["service-a-end"]["service-format"] = "Ethernet" self.cr_serv_input_data["service-a-end"]["tx-direction"][0]["port"]["port-name"] = "XPDR2-CLIENT2" self.cr_serv_input_data["service-a-end"]["rx-direction"][0]["port"]["port-name"] = "XPDR2-CLIENT2" self.cr_serv_input_data["service-z-end"]["service-rate"] = "100" self.cr_serv_input_data["service-z-end"]["service-format"] = "Ethernet" self.cr_serv_input_data["service-z-end"]["tx-direction"][0]["port"]["port-name"] = "XPDR2-CLIENT2" self.cr_serv_input_data["service-z-end"]["rx-direction"][0]["port"]["port-name"] = "XPDR2-CLIENT2" response = test_utils.transportpce_api_rpc_request( 'org-openroadm-service', 'service-create', self.cr_serv_input_data) > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 500 != 200 transportpce_tests/hybrid/test02_B100G_end2end.py:822: AssertionError _______________ TransportPCEtesting.test_042_get_100GE_service_2 _______________ self = def test_042_get_100GE_service_2(self): > response = test_utils.get_ordm_serv_list_attr_request("services", "service-100GE2") transportpce_tests/hybrid/test02_B100G_end2end.py:828: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ attribute = 'services', value = 'service-100GE2' def get_ordm_serv_list_attr_request(attribute: str, value: str): url = {'rfc8040': '{}/data/org-openroadm-service:service-list/{}={}?content=nonconfig', 'draft-bierman02': '{}/operational/org-openroadm-service:service-list/{}/{}'} format_args = ('{}', attribute, value) response = get_request(url[RESTCONF_VERSION].format(*format_args)) res = response.json() return_key = {'rfc8040': 'org-openroadm-service:' + attribute, 'draft-bierman02': attribute} if return_key[RESTCONF_VERSION] in res.keys(): response_attribute = res[return_key[RESTCONF_VERSION]] else: > response_attribute = res['errors']['error'][0] E KeyError: 'errors' transportpce_tests/common/test_utils.py:636: KeyError _______________ TransportPCEtesting.test_043_check_service_list ________________ self = def test_043_check_service_list(self): > response = test_utils.get_ordm_serv_list_request() transportpce_tests/hybrid/test02_B100G_end2end.py:837: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ def get_ordm_serv_list_request(): url = {'rfc8040': '{}/data/org-openroadm-service:service-list?content=nonconfig', 'draft-bierman02': '{}/operational/org-openroadm-service:service-list/'} response = get_request(url[RESTCONF_VERSION]) res = response.json() return_key = {'rfc8040': 'org-openroadm-service:service-list', 'draft-bierman02': 'service-list'} if return_key[RESTCONF_VERSION] in res.keys(): response_attribute = res[return_key[RESTCONF_VERSION]] else: > response_attribute = res['errors']['error'][0] E KeyError: 'errors' transportpce_tests/common/test_utils.py:620: KeyError ______________ TransportPCEtesting.test_044_check_otn_topo_links _______________ self = def test_044_check_otn_topo_links(self): response = test_utils.get_ietf_network_request('otn-topology', 'config') > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 500 != 200 transportpce_tests/hybrid/test02_B100G_end2end.py:843: AssertionError ________________ TransportPCEtesting.test_045_check_otn_topo_tp ________________ self = def test_045_check_otn_topo_tp(self): response = test_utils.get_ietf_network_request('otn-topology', 'config') > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 500 != 200 transportpce_tests/hybrid/test02_B100G_end2end.py:856: AssertionError _____________ TransportPCEtesting.test_046_delete_100GE_service_2 ______________ self = def test_046_delete_100GE_service_2(self): self.del_serv_input_data["service-delete-req-info"]["service-name"] = "service-100GE2" response = test_utils.transportpce_api_rpc_request( 'org-openroadm-service', 'service-delete', self.del_serv_input_data) > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 500 != 200 transportpce_tests/hybrid/test02_B100G_end2end.py:877: AssertionError _____________ TransportPCEtesting.test_047_delete_100GE_service_1 ______________ self = def test_047_delete_100GE_service_1(self): self.del_serv_input_data["service-delete-req-info"]["service-name"] = "service-100GE" response = test_utils.transportpce_api_rpc_request( 'org-openroadm-service', 'service-delete', self.del_serv_input_data) > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 500 != 200 transportpce_tests/hybrid/test02_B100G_end2end.py:887: AssertionError _______________ TransportPCEtesting.test_048_check_service_list ________________ self = def test_048_check_service_list(self): > response = test_utils.get_ordm_serv_list_request() transportpce_tests/hybrid/test02_B100G_end2end.py:893: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ def get_ordm_serv_list_request(): url = {'rfc8040': '{}/data/org-openroadm-service:service-list?content=nonconfig', 'draft-bierman02': '{}/operational/org-openroadm-service:service-list/'} response = get_request(url[RESTCONF_VERSION]) res = response.json() return_key = {'rfc8040': 'org-openroadm-service:service-list', 'draft-bierman02': 'service-list'} if return_key[RESTCONF_VERSION] in res.keys(): response_attribute = res[return_key[RESTCONF_VERSION]] else: > response_attribute = res['errors']['error'][0] E KeyError: 'errors' transportpce_tests/common/test_utils.py:620: KeyError _________ TransportPCEtesting.test_049_check_no_ODU4_connection_xpdra2 _________ self = def test_049_check_no_ODU4_connection_xpdra2(self): > response = test_utils.check_node_request("XPDR-A2") transportpce_tests/hybrid/test02_B100G_end2end.py:898: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ node = 'XPDR-A2' def check_node_request(node: str): # pylint: disable=line-too-long url = {'rfc8040': '{}/data/network-topology:network-topology/topology=topology-netconf/node={}/yang-ext:mount/org-openroadm-device:org-openroadm-device?content=config', # nopep8 'draft-bierman02': '{}/config/network-topology:network-topology/topology/topology-netconf/node/{}/yang-ext:mount/org-openroadm-device:org-openroadm-device'} # nopep8 response = get_request(url[RESTCONF_VERSION].format('{}', node)) res = response.json() return_key = {'rfc8040': 'org-openroadm-device:org-openroadm-device', 'draft-bierman02': 'org-openroadm-device'} if return_key[RESTCONF_VERSION] in res.keys(): response_attribute = res[return_key[RESTCONF_VERSION]] else: > response_attribute = res['errors']['error'][0] E KeyError: 'errors' transportpce_tests/common/test_utils.py:392: KeyError _____ TransportPCEtesting.test_050_check_no_interface_ODU4_NETWORK_xpdra2 ______ self = def test_050_check_no_interface_ODU4_NETWORK_xpdra2(self): response = test_utils.check_node_attribute_request( 'XPDR-A2', 'interface', 'XPDR2-NETWORK1-ODU4:service-100GE') > self.assertEqual(response['status_code'], requests.codes.conflict) E AssertionError: 500 != 409 transportpce_tests/hybrid/test02_B100G_end2end.py:905: AssertionError ----------------------------- Captured stdout call ----------------------------- Request failed. /rests/data/network-topology:network-topology/topology=topology-netconf/node=XPDR-A2/yang-ext:mount/org-openroadm-device:org-openroadm-device/interface=XPDR2-NETWORK1-ODU4:service-100GE ______ TransportPCEtesting.test_051_check_no_interface_ODU4_CLIENT_xpdra2 ______ self = def test_051_check_no_interface_ODU4_CLIENT_xpdra2(self): response = test_utils.check_node_attribute_request( 'XPDR-A2', 'interface', 'XPDR2-CLIENT1-ODU4:service-100GE') > self.assertEqual(response['status_code'], requests.codes.conflict) E AssertionError: 500 != 409 transportpce_tests/hybrid/test02_B100G_end2end.py:910: AssertionError ----------------------------- Captured stdout call ----------------------------- Request failed. /rests/data/network-topology:network-topology/topology=topology-netconf/node=XPDR-A2/yang-ext:mount/org-openroadm-device:org-openroadm-device/interface=XPDR2-CLIENT1-ODU4:service-100GE _____ TransportPCEtesting.test_052_check_no_interface_100GE_CLIENT_xpdra2 ______ self = def test_052_check_no_interface_100GE_CLIENT_xpdra2(self): response = test_utils.check_node_attribute_request( 'XPDR-A2', 'interface', 'XPDR2-CLIENT1-ETHERNET-100G') > self.assertEqual(response['status_code'], requests.codes.conflict) E AssertionError: 500 != 409 transportpce_tests/hybrid/test02_B100G_end2end.py:915: AssertionError ----------------------------- Captured stdout call ----------------------------- Request failed. /rests/data/network-topology:network-topology/topology=topology-netconf/node=XPDR-A2/yang-ext:mount/org-openroadm-device:org-openroadm-device/interface=XPDR2-CLIENT1-ETHERNET-100G ______________ TransportPCEtesting.test_053_check_otn_topo_links _______________ self = def test_053_check_otn_topo_links(self): response = test_utils.get_ietf_network_request('otn-topology', 'config') > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 500 != 200 transportpce_tests/hybrid/test02_B100G_end2end.py:919: AssertionError ________________ TransportPCEtesting.test_054_check_otn_topo_tp ________________ self = def test_054_check_otn_topo_tp(self): response = test_utils.get_ietf_network_request('otn-topology', 'config') > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 500 != 200 transportpce_tests/hybrid/test02_B100G_end2end.py:932: AssertionError _____________ TransportPCEtesting.test_055_create_100GE_service_3 ______________ self = def test_055_create_100GE_service_3(self): self.cr_serv_input_data["service-name"] = "service-100GE3" self.cr_serv_input_data["connection-type"] = "service" self.cr_serv_input_data["service-a-end"]["service-rate"] = "100" self.cr_serv_input_data["service-a-end"]["service-format"] = "Ethernet" self.cr_serv_input_data["service-a-end"]["tx-direction"][0]["port"]["port-name"] = "XPDR2-CLIENT1" self.cr_serv_input_data["service-a-end"]["rx-direction"][0]["port"]["port-name"] = "XPDR2-CLIENT1" self.cr_serv_input_data["service-z-end"]["service-rate"] = "100" self.cr_serv_input_data["service-z-end"]["service-format"] = "Ethernet" self.cr_serv_input_data["service-z-end"]["tx-direction"][0]["port"]["port-name"] = "XPDR2-CLIENT2" self.cr_serv_input_data["service-z-end"]["rx-direction"][0]["port"]["port-name"] = "XPDR2-CLIENT2" response = test_utils.transportpce_api_rpc_request( 'org-openroadm-service', 'service-create', self.cr_serv_input_data) > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 500 != 200 transportpce_tests/hybrid/test02_B100G_end2end.py:958: AssertionError _______________ TransportPCEtesting.test_056_get_100GE_service_3 _______________ self = def test_056_get_100GE_service_3(self): > response = test_utils.get_ordm_serv_list_attr_request("services", "service-100GE3") transportpce_tests/hybrid/test02_B100G_end2end.py:964: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ attribute = 'services', value = 'service-100GE3' def get_ordm_serv_list_attr_request(attribute: str, value: str): url = {'rfc8040': '{}/data/org-openroadm-service:service-list/{}={}?content=nonconfig', 'draft-bierman02': '{}/operational/org-openroadm-service:service-list/{}/{}'} format_args = ('{}', attribute, value) response = get_request(url[RESTCONF_VERSION].format(*format_args)) res = response.json() return_key = {'rfc8040': 'org-openroadm-service:' + attribute, 'draft-bierman02': attribute} if return_key[RESTCONF_VERSION] in res.keys(): response_attribute = res[return_key[RESTCONF_VERSION]] else: > response_attribute = res['errors']['error'][0] E KeyError: 'errors' transportpce_tests/common/test_utils.py:636: KeyError _______________ TransportPCEtesting.test_057_check_service_list ________________ self = def test_057_check_service_list(self): > response = test_utils.get_ordm_serv_list_request() transportpce_tests/hybrid/test02_B100G_end2end.py:973: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ def get_ordm_serv_list_request(): url = {'rfc8040': '{}/data/org-openroadm-service:service-list?content=nonconfig', 'draft-bierman02': '{}/operational/org-openroadm-service:service-list/'} response = get_request(url[RESTCONF_VERSION]) res = response.json() return_key = {'rfc8040': 'org-openroadm-service:service-list', 'draft-bierman02': 'service-list'} if return_key[RESTCONF_VERSION] in res.keys(): response_attribute = res[return_key[RESTCONF_VERSION]] else: > response_attribute = res['errors']['error'][0] E KeyError: 'errors' transportpce_tests/common/test_utils.py:620: KeyError _______ TransportPCEtesting.test_058_check_interface_100GE_CLIENT_xpdra2 _______ self = def test_058_check_interface_100GE_CLIENT_xpdra2(self): response = test_utils.check_node_attribute_request( 'XPDR-A2', 'interface', 'XPDR2-CLIENT1-ETHERNET-100G') > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 500 != 200 transportpce_tests/hybrid/test02_B100G_end2end.py:980: AssertionError ----------------------------- Captured stdout call ----------------------------- Request failed. /rests/data/network-topology:network-topology/topology=topology-netconf/node=XPDR-A2/yang-ext:mount/org-openroadm-device:org-openroadm-device/interface=XPDR2-CLIENT1-ETHERNET-100G _______ TransportPCEtesting.test_059_check_interface_ODU4_CLIENT_xpdra2 ________ self = def test_059_check_interface_ODU4_CLIENT_xpdra2(self): response = test_utils.check_node_attribute_request( 'XPDR-A2', 'interface', 'XPDR2-CLIENT1-ODU4:service-100GE3') > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 500 != 200 transportpce_tests/hybrid/test02_B100G_end2end.py:997: AssertionError ----------------------------- Captured stdout call ----------------------------- Request failed. /rests/data/network-topology:network-topology/topology=topology-netconf/node=XPDR-A2/yang-ext:mount/org-openroadm-device:org-openroadm-device/interface=XPDR2-CLIENT1-ODU4:service-100GE3 _______ TransportPCEtesting.test_060_check_interface_ODU4_NETWORK_xpdra2 _______ self = def test_060_check_interface_ODU4_NETWORK_xpdra2(self): response = test_utils.check_node_attribute_request( 'XPDR-A2', 'interface', 'XPDR2-NETWORK1-ODU4:service-100GE3') > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 500 != 200 transportpce_tests/hybrid/test02_B100G_end2end.py:1021: AssertionError ----------------------------- Captured stdout call ----------------------------- Request failed. /rests/data/network-topology:network-topology/topology=topology-netconf/node=XPDR-A2/yang-ext:mount/org-openroadm-device:org-openroadm-device/interface=XPDR2-NETWORK1-ODU4:service-100GE3 __________ TransportPCEtesting.test_061_check_ODU4_connection_xpdra2 ___________ self = def test_061_check_ODU4_connection_xpdra2(self): response = test_utils.check_node_attribute_request( 'XPDR-A2', 'odu-connection', 'XPDR2-CLIENT1-ODU4-x-XPDR2-NETWORK1-ODU4') > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 500 != 200 transportpce_tests/hybrid/test02_B100G_end2end.py:1051: AssertionError ----------------------------- Captured stdout call ----------------------------- Request failed. /rests/data/network-topology:network-topology/topology=topology-netconf/node=XPDR-A2/yang-ext:mount/org-openroadm-device:org-openroadm-device/odu-connection=XPDR2-CLIENT1-ODU4-x-XPDR2-NETWORK1-ODU4 _______ TransportPCEtesting.test_062_check_interface_100GE_CLIENT_xpdrc2 _______ self = def test_062_check_interface_100GE_CLIENT_xpdrc2(self): response = test_utils.check_node_attribute_request( 'XPDR-C2', 'interface', 'XPDR2-CLIENT2-ETHERNET-100G') > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 500 != 200 transportpce_tests/hybrid/test02_B100G_end2end.py:1068: AssertionError ----------------------------- Captured stdout call ----------------------------- Request failed. /rests/data/network-topology:network-topology/topology=topology-netconf/node=XPDR-C2/yang-ext:mount/org-openroadm-device:org-openroadm-device/interface=XPDR2-CLIENT2-ETHERNET-100G _______ TransportPCEtesting.test_063_check_interface_ODU4_CLIENT_xpdrc2 ________ self = def test_063_check_interface_ODU4_CLIENT_xpdrc2(self): response = test_utils.check_node_attribute_request( 'XPDR-C2', 'interface', 'XPDR2-CLIENT2-ODU4:service-100GE3') > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 500 != 200 transportpce_tests/hybrid/test02_B100G_end2end.py:1085: AssertionError ----------------------------- Captured stdout call ----------------------------- Request failed. /rests/data/network-topology:network-topology/topology=topology-netconf/node=XPDR-C2/yang-ext:mount/org-openroadm-device:org-openroadm-device/interface=XPDR2-CLIENT2-ODU4:service-100GE3 _______ TransportPCEtesting.test_064_check_interface_ODU4_NETWORK_xpdrc2 _______ self = def test_064_check_interface_ODU4_NETWORK_xpdrc2(self): response = test_utils.check_node_attribute_request( 'XPDR-C2', 'interface', 'XPDR2-NETWORK1-ODU4:service-100GE3') > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 500 != 200 transportpce_tests/hybrid/test02_B100G_end2end.py:1109: AssertionError ----------------------------- Captured stdout call ----------------------------- Request failed. /rests/data/network-topology:network-topology/topology=topology-netconf/node=XPDR-C2/yang-ext:mount/org-openroadm-device:org-openroadm-device/interface=XPDR2-NETWORK1-ODU4:service-100GE3 __________ TransportPCEtesting.test_065_check_ODU4_connection_xpdrc2 ___________ self = def test_065_check_ODU4_connection_xpdrc2(self): response = test_utils.check_node_attribute_request( 'XPDR-C2', 'odu-connection', 'XPDR2-CLIENT2-ODU4-x-XPDR2-NETWORK1-ODU4') > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 500 != 200 transportpce_tests/hybrid/test02_B100G_end2end.py:1145: AssertionError ----------------------------- Captured stdout call ----------------------------- Request failed. /rests/data/network-topology:network-topology/topology=topology-netconf/node=XPDR-C2/yang-ext:mount/org-openroadm-device:org-openroadm-device/odu-connection=XPDR2-CLIENT2-ODU4-x-XPDR2-NETWORK1-ODU4 ______________ TransportPCEtesting.test_066_check_otn_topo_links _______________ self = def test_066_check_otn_topo_links(self): response = test_utils.get_ietf_network_request('otn-topology', 'config') > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 500 != 200 transportpce_tests/hybrid/test02_B100G_end2end.py:1161: AssertionError ________________ TransportPCEtesting.test_067_check_otn_topo_tp ________________ self = def test_067_check_otn_topo_tp(self): response = test_utils.get_ietf_network_request('otn-topology', 'config') > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 500 != 200 transportpce_tests/hybrid/test02_B100G_end2end.py:1174: AssertionError _____________ TransportPCEtesting.test_068_delete_100GE_service_3 ______________ self = def test_068_delete_100GE_service_3(self): self.del_serv_input_data["service-delete-req-info"]["service-name"] = "service-100GE3" response = test_utils.transportpce_api_rpc_request( 'org-openroadm-service', 'service-delete', self.del_serv_input_data) > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 500 != 200 transportpce_tests/hybrid/test02_B100G_end2end.py:1192: AssertionError ______________ TransportPCEtesting.test_069_delete_ODUC4_service _______________ self = def test_069_delete_ODUC4_service(self): self.del_serv_input_data["service-delete-req-info"]["service-name"] = "service1-ODUC4" response = test_utils.transportpce_api_rpc_request( 'org-openroadm-service', 'service-delete', self.del_serv_input_data) > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 500 != 200 transportpce_tests/hybrid/test02_B100G_end2end.py:1202: AssertionError _______________ TransportPCEtesting.test_070_check_service_list ________________ self = def test_070_check_service_list(self): > response = test_utils.get_ordm_serv_list_request() transportpce_tests/hybrid/test02_B100G_end2end.py:1208: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ def get_ordm_serv_list_request(): url = {'rfc8040': '{}/data/org-openroadm-service:service-list?content=nonconfig', 'draft-bierman02': '{}/operational/org-openroadm-service:service-list/'} response = get_request(url[RESTCONF_VERSION]) res = response.json() return_key = {'rfc8040': 'org-openroadm-service:service-list', 'draft-bierman02': 'service-list'} if return_key[RESTCONF_VERSION] in res.keys(): response_attribute = res[return_key[RESTCONF_VERSION]] else: > response_attribute = res['errors']['error'][0] E KeyError: 'errors' transportpce_tests/common/test_utils.py:620: KeyError _________ TransportPCEtesting.test_071_check_no_interface_ODU4_xpdra2 __________ self = def test_071_check_no_interface_ODU4_xpdra2(self): response = test_utils.check_node_attribute_request( 'XPDR-A2', 'interface', 'XPDR2-NETWORK1-ODUC4') > self.assertEqual(response['status_code'], requests.codes.conflict) E AssertionError: 500 != 409 transportpce_tests/hybrid/test02_B100G_end2end.py:1215: AssertionError ----------------------------- Captured stdout call ----------------------------- Request failed. /rests/data/network-topology:network-topology/topology=topology-netconf/node=XPDR-A2/yang-ext:mount/org-openroadm-device:org-openroadm-device/interface=XPDR2-NETWORK1-ODUC4 ______________ TransportPCEtesting.test_072_check_otn_topo_links _______________ self = def test_072_check_otn_topo_links(self): > self.test_022_check_otn_topo_OTUC4_links() transportpce_tests/hybrid/test02_B100G_end2end.py:1218: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ transportpce_tests/hybrid/test02_B100G_end2end.py:424: in test_022_check_otn_topo_OTUC4_links self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 500 != 200 ________________ TransportPCEtesting.test_073_check_otn_topo_tp ________________ self = def test_073_check_otn_topo_tp(self): response = test_utils.get_ietf_network_request('otn-topology', 'config') > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 500 != 200 transportpce_tests/hybrid/test02_B100G_end2end.py:1222: AssertionError ______________ TransportPCEtesting.test_074_delete_OTUC4_service _______________ self = def test_074_delete_OTUC4_service(self): self.del_serv_input_data["service-delete-req-info"]["service-name"] = "service1-OTUC4" response = test_utils.transportpce_api_rpc_request( 'org-openroadm-service', 'service-delete', self.del_serv_input_data) > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 500 != 200 transportpce_tests/hybrid/test02_B100G_end2end.py:1236: AssertionError _________________ TransportPCEtesting.test_075_get_no_service __________________ self = def test_075_get_no_service(self): > response = test_utils.get_ordm_serv_list_request() transportpce_tests/hybrid/test02_B100G_end2end.py:1242: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ def get_ordm_serv_list_request(): url = {'rfc8040': '{}/data/org-openroadm-service:service-list?content=nonconfig', 'draft-bierman02': '{}/operational/org-openroadm-service:service-list/'} response = get_request(url[RESTCONF_VERSION]) res = response.json() return_key = {'rfc8040': 'org-openroadm-service:service-list', 'draft-bierman02': 'service-list'} if return_key[RESTCONF_VERSION] in res.keys(): response_attribute = res[return_key[RESTCONF_VERSION]] else: > response_attribute = res['errors']['error'][0] E KeyError: 'errors' transportpce_tests/common/test_utils.py:620: KeyError _________ TransportPCEtesting.test_076_check_no_interface_OTUC4_xpdra2 _________ self = def test_076_check_no_interface_OTUC4_xpdra2(self): response = test_utils.check_node_attribute_request( 'XPDR-A2', 'interface', 'XPDR2-NETWORK1-OTUC4') > self.assertEqual(response['status_code'], requests.codes.conflict) E AssertionError: 500 != 409 transportpce_tests/hybrid/test02_B100G_end2end.py:1262: AssertionError ----------------------------- Captured stdout call ----------------------------- Request failed. /rests/data/network-topology:network-topology/topology=topology-netconf/node=XPDR-A2/yang-ext:mount/org-openroadm-device:org-openroadm-device/interface=XPDR2-NETWORK1-OTUC4 _________ TransportPCEtesting.test_077_check_no_interface_OTSI_xpdra2 __________ self = def test_077_check_no_interface_OTSI_xpdra2(self): response = test_utils.check_node_attribute_request( 'XPDR-A2', 'interface', 'XPDR2-NETWORK1-755:768') > self.assertEqual(response['status_code'], requests.codes.conflict) E AssertionError: 500 != 409 transportpce_tests/hybrid/test02_B100G_end2end.py:1267: AssertionError ----------------------------- Captured stdout call ----------------------------- Request failed. /rests/data/network-topology:network-topology/topology=topology-netconf/node=XPDR-A2/yang-ext:mount/org-openroadm-device:org-openroadm-device/interface=XPDR2-NETWORK1-755:768 _________ TransportPCEtesting.test_078_check_no_interface_OTSIG_xpdra2 _________ self = def test_078_check_no_interface_OTSIG_xpdra2(self): response = test_utils.check_node_attribute_request( 'XPDR-A2', 'interface', 'XPDR2-NETWORK1-OTSIGROUP-400G') > self.assertEqual(response['status_code'], requests.codes.conflict) E AssertionError: 500 != 409 transportpce_tests/hybrid/test02_B100G_end2end.py:1272: AssertionError ----------------------------- Captured stdout call ----------------------------- Request failed. /rests/data/network-topology:network-topology/topology=topology-netconf/node=XPDR-A2/yang-ext:mount/org-openroadm-device:org-openroadm-device/interface=XPDR2-NETWORK1-OTSIGROUP-400G ______________ TransportPCEtesting.test_079_getLinks_OtnTopology _______________ self = def test_079_getLinks_OtnTopology(self): response = test_utils.get_ietf_network_request('otn-topology', 'config') > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 500 != 200 transportpce_tests/hybrid/test02_B100G_end2end.py:1276: AssertionError ___________ TransportPCEtesting.test_080_check_openroadm_topo_xpdra2 ___________ self = def test_080_check_openroadm_topo_xpdra2(self): response = test_utils.get_ietf_network_node_request('openroadm-topology', 'XPDR-A2-XPDR2', 'config') > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 500 != 200 transportpce_tests/hybrid/test02_B100G_end2end.py:1281: AssertionError ____________ TransportPCEtesting.test_081_check_openroadm_topology _____________ self = def test_081_check_openroadm_topology(self): response = test_utils.get_ietf_network_request('openroadm-topology', 'config') > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 500 != 200 transportpce_tests/hybrid/test02_B100G_end2end.py:1289: AssertionError ________ TransportPCEtesting.test_082_connect_xpdra2_1_N1_to_roadma_PP2 ________ self = def test_082_connect_xpdra2_1_N1_to_roadma_PP2(self): response = test_utils.transportpce_api_rpc_request( 'transportpce-networkutils', 'init-xpdr-rdm-links', {'links-input': {'xpdr-node': 'XPDR-A2', 'xpdr-num': '1', 'network-num': '1', 'rdm-node': 'ROADM-A1', 'srg-num': '1', 'termination-point-num': 'SRG1-PP1-TXRX'}}) > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 500 != 200 transportpce_tests/hybrid/test02_B100G_end2end.py:1298: AssertionError ________ TransportPCEtesting.test_083_connect_roadma_PP2_to_xpdra2_1_N1 ________ self = def test_083_connect_roadma_PP2_to_xpdra2_1_N1(self): response = test_utils.transportpce_api_rpc_request( 'transportpce-networkutils', 'init-rdm-xpdr-links', {'links-input': {'xpdr-node': 'XPDR-A2', 'xpdr-num': '1', 'network-num': '1', 'rdm-node': 'ROADM-A1', 'srg-num': '1', 'termination-point-num': 'SRG1-PP1-TXRX'}}) > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 500 != 200 transportpce_tests/hybrid/test02_B100G_end2end.py:1306: AssertionError ________ TransportPCEtesting.test_084_connect_xpdrc2_1_N1_to_roadmc_PP2 ________ self = def test_084_connect_xpdrc2_1_N1_to_roadmc_PP2(self): response = test_utils.transportpce_api_rpc_request( 'transportpce-networkutils', 'init-xpdr-rdm-links', {'links-input': {'xpdr-node': 'XPDR-C2', 'xpdr-num': '1', 'network-num': '1', 'rdm-node': 'ROADM-C1', 'srg-num': '1', 'termination-point-num': 'SRG1-PP1-TXRX'}}) > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 500 != 200 transportpce_tests/hybrid/test02_B100G_end2end.py:1314: AssertionError ________ TransportPCEtesting.test_085_connect_roadmc_PP2_to_xpdrc2_1_N1 ________ self = def test_085_connect_roadmc_PP2_to_xpdrc2_1_N1(self): response = test_utils.transportpce_api_rpc_request( 'transportpce-networkutils', 'init-rdm-xpdr-links', {'links-input': {'xpdr-node': 'XPDR-C2', 'xpdr-num': '1', 'network-num': '1', 'rdm-node': 'ROADM-C1', 'srg-num': '1', 'termination-point-num': 'SRG1-PP1-TXRX'}}) > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 500 != 200 transportpce_tests/hybrid/test02_B100G_end2end.py:1322: AssertionError ______________ TransportPCEtesting.test_086_create_400GE_service _______________ self = def test_086_create_400GE_service(self): self.cr_serv_input_data["service-name"] = "service-400GE" self.cr_serv_input_data["service-a-end"]["service-rate"] = "400" self.cr_serv_input_data["service-a-end"]["tx-direction"][0]["port"]["port-name"] = "XPDR1-CLIENT1" self.cr_serv_input_data["service-a-end"]["rx-direction"][0]["port"]["port-name"] = "XPDR1-CLIENT1" self.cr_serv_input_data["service-z-end"]["service-rate"] = "400" del self.cr_serv_input_data["service-a-end"]["tx-direction"][0]["port"]["port-name"] del self.cr_serv_input_data["service-a-end"]["tx-direction"][0]["port"]["port-device-name"] del self.cr_serv_input_data["service-a-end"]["rx-direction"][0]["port"]["port-name"] del self.cr_serv_input_data["service-a-end"]["rx-direction"][0]["port"]["port-device-name"] del self.cr_serv_input_data["service-z-end"]["tx-direction"][0]["port"]["port-name"] del self.cr_serv_input_data["service-z-end"]["tx-direction"][0]["port"]["port-device-name"] del self.cr_serv_input_data["service-z-end"]["rx-direction"][0]["port"]["port-name"] del self.cr_serv_input_data["service-z-end"]["rx-direction"][0]["port"]["port-device-name"] response = test_utils.transportpce_api_rpc_request( 'org-openroadm-service', 'service-create', self.cr_serv_input_data) > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 500 != 200 transportpce_tests/hybrid/test02_B100G_end2end.py:1343: AssertionError ________________ TransportPCEtesting.test_087_get_400GE_service ________________ self = def test_087_get_400GE_service(self): > response = test_utils.get_ordm_serv_list_attr_request("services", "service-400GE") transportpce_tests/hybrid/test02_B100G_end2end.py:1350: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ attribute = 'services', value = 'service-400GE' def get_ordm_serv_list_attr_request(attribute: str, value: str): url = {'rfc8040': '{}/data/org-openroadm-service:service-list/{}={}?content=nonconfig', 'draft-bierman02': '{}/operational/org-openroadm-service:service-list/{}/{}'} format_args = ('{}', attribute, value) response = get_request(url[RESTCONF_VERSION].format(*format_args)) res = response.json() return_key = {'rfc8040': 'org-openroadm-service:' + attribute, 'draft-bierman02': attribute} if return_key[RESTCONF_VERSION] in res.keys(): response_attribute = res[return_key[RESTCONF_VERSION]] else: > response_attribute = res['errors']['error'][0] E KeyError: 'errors' transportpce_tests/common/test_utils.py:636: KeyError ________________ TransportPCEtesting.test_088_check_xc1_roadma _________________ self = def test_088_check_xc1_roadma(self): response = test_utils.check_node_attribute_request( "ROADM-A1", "roadm-connections", "SRG1-PP1-TXRX-DEG2-TTP-TXRX-755:768") > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 500 != 200 transportpce_tests/hybrid/test02_B100G_end2end.py:1361: AssertionError ----------------------------- Captured stdout call ----------------------------- Request failed. /rests/data/network-topology:network-topology/topology=topology-netconf/node=ROADM-A1/yang-ext:mount/org-openroadm-device:org-openroadm-device/roadm-connections=SRG1-PP1-TXRX-DEG2-TTP-TXRX-755:768 ________________ TransportPCEtesting.test_089_check_topo_xpdra2 ________________ self = def test_089_check_topo_xpdra2(self): response = test_utils.get_ietf_network_node_request('openroadm-topology', 'XPDR-A2-XPDR1', 'config') > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 500 != 200 transportpce_tests/hybrid/test02_B100G_end2end.py:1374: AssertionError _____________ TransportPCEtesting.test_090_check_topo_roadma_SRG1 ______________ self = def test_090_check_topo_roadma_SRG1(self): response = test_utils.get_ietf_network_node_request('openroadm-topology', 'ROADM-A1-SRG1', 'config') > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 500 != 200 transportpce_tests/hybrid/test02_B100G_end2end.py:1390: AssertionError _____________ TransportPCEtesting.test_091_check_topo_roadma_DEG1 ______________ self = def test_091_check_topo_roadma_DEG1(self): response = test_utils.get_ietf_network_node_request('openroadm-topology', 'ROADM-A1-DEG2', 'config') > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 500 != 200 transportpce_tests/hybrid/test02_B100G_end2end.py:1408: AssertionError _______ TransportPCEtesting.test_092_check_interface_400GE_CLIENT_xpdra2 _______ self = def test_092_check_interface_400GE_CLIENT_xpdra2(self): response = test_utils.check_node_attribute_request( 'XPDR-A2', 'interface', 'XPDR1-CLIENT1-ETHERNET') > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 500 != 200 transportpce_tests/hybrid/test02_B100G_end2end.py:1430: AssertionError ----------------------------- Captured stdout call ----------------------------- Request failed. /rests/data/network-topology:network-topology/topology=topology-netconf/node=XPDR-A2/yang-ext:mount/org-openroadm-device:org-openroadm-device/interface=XPDR1-CLIENT1-ETHERNET ___________ TransportPCEtesting.test_093_check_interface_OTSI_xpdra2 ___________ self = def test_093_check_interface_OTSI_xpdra2(self): response = test_utils.check_node_attribute_request( 'XPDR-A2', 'interface', 'XPDR1-NETWORK1-755:768') > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 500 != 200 transportpce_tests/hybrid/test02_B100G_end2end.py:1447: AssertionError ----------------------------- Captured stdout call ----------------------------- Request failed. /rests/data/network-topology:network-topology/topology=topology-netconf/node=XPDR-A2/yang-ext:mount/org-openroadm-device:org-openroadm-device/interface=XPDR1-NETWORK1-755:768 ________ TransportPCEtesting.test_094_check_interface_OTSI_GROUP_xpdra2 ________ self = def test_094_check_interface_OTSI_GROUP_xpdra2(self): response = test_utils.check_node_attribute_request( 'XPDR-A2', 'interface', 'XPDR1-NETWORK1-OTSIGROUP-400G') > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 500 != 200 transportpce_tests/hybrid/test02_B100G_end2end.py:1473: AssertionError ----------------------------- Captured stdout call ----------------------------- Request failed. /rests/data/network-topology:network-topology/topology=topology-netconf/node=XPDR-A2/yang-ext:mount/org-openroadm-device:org-openroadm-device/interface=XPDR1-NETWORK1-OTSIGROUP-400G __________ TransportPCEtesting.test_095_check_interface_OTUC4_xpdra2 ___________ self = def test_095_check_interface_OTUC4_xpdra2(self): response = test_utils.check_node_attribute_request( 'XPDR-A2', 'interface', 'XPDR1-NETWORK1-OTUC4') > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 500 != 200 transportpce_tests/hybrid/test02_B100G_end2end.py:1492: AssertionError ----------------------------- Captured stdout call ----------------------------- Request failed. /rests/data/network-topology:network-topology/topology=topology-netconf/node=XPDR-A2/yang-ext:mount/org-openroadm-device:org-openroadm-device/interface=XPDR1-NETWORK1-OTUC4 __________ TransportPCEtesting.test_096_check_interface_ODUC4_xpdra2 ___________ self = def test_096_check_interface_ODUC4_xpdra2(self): response = test_utils.check_node_attribute_request( 'XPDR-A2', 'interface', 'XPDR1-NETWORK1-ODUC4') > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 500 != 200 transportpce_tests/hybrid/test02_B100G_end2end.py:1518: AssertionError ----------------------------- Captured stdout call ----------------------------- Request failed. /rests/data/network-topology:network-topology/topology=topology-netconf/node=XPDR-A2/yang-ext:mount/org-openroadm-device:org-openroadm-device/interface=XPDR1-NETWORK1-ODUC4 _________ TransportPCEtesting.test_097_check_interface_ODUFLEX_xpdra2 __________ self = def test_097_check_interface_ODUFLEX_xpdra2(self): response = test_utils.check_node_attribute_request( 'XPDR-A2', 'interface', 'XPDR1-NETWORK1-ODUFLEX') > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 500 != 200 transportpce_tests/hybrid/test02_B100G_end2end.py:1549: AssertionError ----------------------------- Captured stdout call ----------------------------- Request failed. /rests/data/network-topology:network-topology/topology=topology-netconf/node=XPDR-A2/yang-ext:mount/org-openroadm-device:org-openroadm-device/interface=XPDR1-NETWORK1-ODUFLEX ______________ TransportPCEtesting.test_098_delete_400GE_service _______________ self = def test_098_delete_400GE_service(self): self.del_serv_input_data["service-delete-req-info"]["service-name"] = "service-400GE" response = test_utils.transportpce_api_rpc_request( 'org-openroadm-service', 'service-delete', self.del_serv_input_data) > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 500 != 200 transportpce_tests/hybrid/test02_B100G_end2end.py:1604: AssertionError _________________ TransportPCEtesting.test_099_get_no_service __________________ self = def test_099_get_no_service(self): > response = test_utils.get_ordm_serv_list_request() transportpce_tests/hybrid/test02_B100G_end2end.py:1610: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ def get_ordm_serv_list_request(): url = {'rfc8040': '{}/data/org-openroadm-service:service-list?content=nonconfig', 'draft-bierman02': '{}/operational/org-openroadm-service:service-list/'} response = get_request(url[RESTCONF_VERSION]) res = response.json() return_key = {'rfc8040': 'org-openroadm-service:service-list', 'draft-bierman02': 'service-list'} if return_key[RESTCONF_VERSION] in res.keys(): response_attribute = res[return_key[RESTCONF_VERSION]] else: > response_attribute = res['errors']['error'][0] E KeyError: 'errors' transportpce_tests/common/test_utils.py:620: KeyError _________ TransportPCEtesting.test_100_check_no_interface_ODUC4_xpdra2 _________ self = def test_100_check_no_interface_ODUC4_xpdra2(self): response = test_utils.check_node_attribute_request( 'XPDR-A2', 'interface', 'XPDR1-NETWORK1-ODUC4') > self.assertEqual(response['status_code'], requests.codes.conflict) E AssertionError: 500 != 409 transportpce_tests/hybrid/test02_B100G_end2end.py:1631: AssertionError ----------------------------- Captured stdout call ----------------------------- Request failed. /rests/data/network-topology:network-topology/topology=topology-netconf/node=XPDR-A2/yang-ext:mount/org-openroadm-device:org-openroadm-device/interface=XPDR1-NETWORK1-ODUC4 _________ TransportPCEtesting.test_101_check_no_interface_OTUC4_xpdra2 _________ self = def test_101_check_no_interface_OTUC4_xpdra2(self): response = test_utils.check_node_attribute_request( 'XPDR-A2', 'interface', 'XPDR1-NETWORK1-OTUC4') > self.assertEqual(response['status_code'], requests.codes.conflict) E AssertionError: 500 != 409 transportpce_tests/hybrid/test02_B100G_end2end.py:1636: AssertionError ----------------------------- Captured stdout call ----------------------------- Request failed. /rests/data/network-topology:network-topology/topology=topology-netconf/node=XPDR-A2/yang-ext:mount/org-openroadm-device:org-openroadm-device/interface=XPDR1-NETWORK1-OTUC4 ______ TransportPCEtesting.test_102_check_no_interface_OTSI_GROUP_xpdra2 _______ self = def test_102_check_no_interface_OTSI_GROUP_xpdra2(self): response = test_utils.check_node_attribute_request( 'XPDR-A2', 'interface', 'XPDR1-NETWORK1-OTSIGROUP-400G') > self.assertEqual(response['status_code'], requests.codes.conflict) E AssertionError: 500 != 409 transportpce_tests/hybrid/test02_B100G_end2end.py:1641: AssertionError ----------------------------- Captured stdout call ----------------------------- Request failed. /rests/data/network-topology:network-topology/topology=topology-netconf/node=XPDR-A2/yang-ext:mount/org-openroadm-device:org-openroadm-device/interface=XPDR1-NETWORK1-OTSIGROUP-400G _________ TransportPCEtesting.test_103_check_no_interface_OTSI_xpdra2 __________ self = def test_103_check_no_interface_OTSI_xpdra2(self): response = test_utils.check_node_attribute_request( 'XPDR-A2', 'interface', 'XPDR1-NETWORK1-755:768') > self.assertEqual(response['status_code'], requests.codes.conflict) E AssertionError: 500 != 409 transportpce_tests/hybrid/test02_B100G_end2end.py:1646: AssertionError ----------------------------- Captured stdout call ----------------------------- Request failed. /rests/data/network-topology:network-topology/topology=topology-netconf/node=XPDR-A2/yang-ext:mount/org-openroadm-device:org-openroadm-device/interface=XPDR1-NETWORK1-755:768 _____ TransportPCEtesting.test_104_check_no_interface_400GE_CLIENT_xpdra2 ______ self = def test_104_check_no_interface_400GE_CLIENT_xpdra2(self): response = test_utils.check_node_attribute_request( 'XPDR-A2', 'interface', 'XPDR1-CLIENT1-ETHERNET') > self.assertEqual(response['status_code'], requests.codes.conflict) E AssertionError: 500 != 409 transportpce_tests/hybrid/test02_B100G_end2end.py:1651: AssertionError ----------------------------- Captured stdout call ----------------------------- Request failed. /rests/data/network-topology:network-topology/topology=topology-netconf/node=XPDR-A2/yang-ext:mount/org-openroadm-device:org-openroadm-device/interface=XPDR1-CLIENT1-ETHERNET _________ TransportPCEtesting.test_105_disconnect_xponders_from_roadm __________ self = def test_105_disconnect_xponders_from_roadm(self): response = test_utils.get_ietf_network_request('openroadm-topology', 'config') > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 500 != 200 transportpce_tests/hybrid/test02_B100G_end2end.py:1655: AssertionError ________________ TransportPCEtesting.test_106_disconnect_xpdra2 ________________ self = def test_106_disconnect_xpdra2(self): response = test_utils.unmount_device("XPDR-A2") > self.assertIn(response.status_code, (requests.codes.ok, requests.codes.no_content)) E AssertionError: 500 not found in (200, 204) transportpce_tests/hybrid/test02_B100G_end2end.py:1665: AssertionError ----------------------------- Captured stdout call ----------------------------- Searching for pattern 'onDeviceDisConnected:\ XPDR\-A2' in karaf.log... Pattern not found after 180 seconds! Node XPDR-A2 still not deleted from tpce topology... ________________ TransportPCEtesting.test_107_disconnect_xpdrc2 ________________ self = def test_107_disconnect_xpdrc2(self): response = test_utils.unmount_device("XPDR-C2") > self.assertIn(response.status_code, (requests.codes.ok, requests.codes.no_content)) E AssertionError: 500 not found in (200, 204) transportpce_tests/hybrid/test02_B100G_end2end.py:1669: AssertionError ----------------------------- Captured stdout call ----------------------------- Searching for pattern 'onDeviceDisConnected:\ XPDR\-C2' in karaf.log... Pattern not found after 180 seconds! Node XPDR-C2 still not deleted from tpce topology... ________________ TransportPCEtesting.test_108_disconnect_roadmA ________________ self = def test_108_disconnect_roadmA(self): response = test_utils.unmount_device("ROADM-A1") > self.assertIn(response.status_code, (requests.codes.ok, requests.codes.no_content)) E AssertionError: 500 not found in (200, 204) transportpce_tests/hybrid/test02_B100G_end2end.py:1673: AssertionError ----------------------------- Captured stdout call ----------------------------- Searching for pattern 'onDeviceDisConnected:\ ROADM\-A1' in karaf.log... Pattern not found after 180 seconds! Node ROADM-A1 still not deleted from tpce topology... ________________ TransportPCEtesting.test_109_disconnect_roadmC ________________ self = def test_109_disconnect_roadmC(self): response = test_utils.unmount_device("ROADM-C1") > self.assertIn(response.status_code, (requests.codes.ok, requests.codes.no_content)) E AssertionError: 500 not found in (200, 204) transportpce_tests/hybrid/test02_B100G_end2end.py:1677: AssertionError ----------------------------- Captured stdout call ----------------------------- Searching for pattern 'onDeviceDisConnected:\ ROADM\-C1' in karaf.log... Pattern not found after 180 seconds! Node ROADM-C1 still not deleted from tpce topology... --------------------------- Captured stdout teardown --------------------------- all processes killed =========================== short test summary info ============================ FAILED transportpce_tests/hybrid/test02_B100G_end2end.py::TransportPCEtesting::test_001_connect_xpdra2 FAILED transportpce_tests/hybrid/test02_B100G_end2end.py::TransportPCEtesting::test_002_connect_xpdrc2 FAILED transportpce_tests/hybrid/test02_B100G_end2end.py::TransportPCEtesting::test_003_connect_rdma FAILED transportpce_tests/hybrid/test02_B100G_end2end.py::TransportPCEtesting::test_004_connect_rdmc FAILED transportpce_tests/hybrid/test02_B100G_end2end.py::TransportPCEtesting::test_005_connect_xpdra2_2_N1_to_roadma_PP2 FAILED transportpce_tests/hybrid/test02_B100G_end2end.py::TransportPCEtesting::test_006_connect_roadma_PP2_to_xpdra2_2_N1 FAILED transportpce_tests/hybrid/test02_B100G_end2end.py::TransportPCEtesting::test_007_connect_xpdrc2_2_N1_to_roadmc_PP2 FAILED transportpce_tests/hybrid/test02_B100G_end2end.py::TransportPCEtesting::test_008_connect_roadmc_PP2_to_xpdrc2_2_N1 FAILED transportpce_tests/hybrid/test02_B100G_end2end.py::TransportPCEtesting::test_009_add_omsAttributes_roadma_roadmc FAILED transportpce_tests/hybrid/test02_B100G_end2end.py::TransportPCEtesting::test_010_add_omsAttributes_roadmc_roadma FAILED transportpce_tests/hybrid/test02_B100G_end2end.py::TransportPCEtesting::test_011_check_otn_topology FAILED transportpce_tests/hybrid/test02_B100G_end2end.py::TransportPCEtesting::test_012_create_OTUC4_service FAILED transportpce_tests/hybrid/test02_B100G_end2end.py::TransportPCEtesting::test_013_get_OTUC4_service1 FAILED transportpce_tests/hybrid/test02_B100G_end2end.py::TransportPCEtesting::test_014_check_interface_otsi_xpdra2 FAILED transportpce_tests/hybrid/test02_B100G_end2end.py::TransportPCEtesting::test_015_check_interface_OTSI_GROUP_xpdra2 FAILED transportpce_tests/hybrid/test02_B100G_end2end.py::TransportPCEtesting::test_016_check_interface_OTUC4_xpdra2 FAILED transportpce_tests/hybrid/test02_B100G_end2end.py::TransportPCEtesting::test_017_check_interface_otsi_xpdrc2 FAILED transportpce_tests/hybrid/test02_B100G_end2end.py::TransportPCEtesting::test_018_check_interface_OTSI_GROUP_xpdrc2 FAILED transportpce_tests/hybrid/test02_B100G_end2end.py::TransportPCEtesting::test_019_check_interface_OTUC4_xpdrc2 FAILED transportpce_tests/hybrid/test02_B100G_end2end.py::TransportPCEtesting::test_020_check_no_interface_ODUC4_xpdra2 FAILED transportpce_tests/hybrid/test02_B100G_end2end.py::TransportPCEtesting::test_021_check_openroadm_topo_xpdra2 FAILED transportpce_tests/hybrid/test02_B100G_end2end.py::TransportPCEtesting::test_022_check_otn_topo_OTUC4_links FAILED transportpce_tests/hybrid/test02_B100G_end2end.py::TransportPCEtesting::test_023_create_ODUC4_service FAILED transportpce_tests/hybrid/test02_B100G_end2end.py::TransportPCEtesting::test_024_get_ODUC4_service1 FAILED transportpce_tests/hybrid/test02_B100G_end2end.py::TransportPCEtesting::test_025_check_interface_ODUC4_xpdra2 FAILED transportpce_tests/hybrid/test02_B100G_end2end.py::TransportPCEtesting::test_026_check_interface_ODUC4_xpdrc2 FAILED transportpce_tests/hybrid/test02_B100G_end2end.py::TransportPCEtesting::test_027_check_otn_topo_links FAILED transportpce_tests/hybrid/test02_B100G_end2end.py::TransportPCEtesting::test_028_check_otn_topo_tp FAILED transportpce_tests/hybrid/test02_B100G_end2end.py::TransportPCEtesting::test_029_create_100GE_service_1 FAILED transportpce_tests/hybrid/test02_B100G_end2end.py::TransportPCEtesting::test_030_get_100GE_service_1 FAILED transportpce_tests/hybrid/test02_B100G_end2end.py::TransportPCEtesting::test_031_check_interface_100GE_CLIENT_xpdra2 FAILED transportpce_tests/hybrid/test02_B100G_end2end.py::TransportPCEtesting::test_032_check_interface_ODU4_CLIENT_xpdra2 FAILED transportpce_tests/hybrid/test02_B100G_end2end.py::TransportPCEtesting::test_033_check_interface_ODU4_NETWORK_xpdra2 FAILED transportpce_tests/hybrid/test02_B100G_end2end.py::TransportPCEtesting::test_034_check_ODU4_connection_xpdra2 FAILED transportpce_tests/hybrid/test02_B100G_end2end.py::TransportPCEtesting::test_035_check_interface_100GE_CLIENT_xpdrc2 FAILED transportpce_tests/hybrid/test02_B100G_end2end.py::TransportPCEtesting::test_036_check_interface_ODU4_CLIENT_xpdrc2 FAILED transportpce_tests/hybrid/test02_B100G_end2end.py::TransportPCEtesting::test_037_check_interface_ODU4_NETWORK_xpdrc2 FAILED transportpce_tests/hybrid/test02_B100G_end2end.py::TransportPCEtesting::test_038_check_ODU4_connection_xpdrc2 FAILED transportpce_tests/hybrid/test02_B100G_end2end.py::TransportPCEtesting::test_039_check_otn_topo_links FAILED transportpce_tests/hybrid/test02_B100G_end2end.py::TransportPCEtesting::test_040_check_otn_topo_tp FAILED transportpce_tests/hybrid/test02_B100G_end2end.py::TransportPCEtesting::test_041_create_100GE_service_2 FAILED transportpce_tests/hybrid/test02_B100G_end2end.py::TransportPCEtesting::test_042_get_100GE_service_2 FAILED transportpce_tests/hybrid/test02_B100G_end2end.py::TransportPCEtesting::test_043_check_service_list FAILED transportpce_tests/hybrid/test02_B100G_end2end.py::TransportPCEtesting::test_044_check_otn_topo_links FAILED transportpce_tests/hybrid/test02_B100G_end2end.py::TransportPCEtesting::test_045_check_otn_topo_tp FAILED transportpce_tests/hybrid/test02_B100G_end2end.py::TransportPCEtesting::test_046_delete_100GE_service_2 FAILED transportpce_tests/hybrid/test02_B100G_end2end.py::TransportPCEtesting::test_047_delete_100GE_service_1 FAILED transportpce_tests/hybrid/test02_B100G_end2end.py::TransportPCEtesting::test_048_check_service_list FAILED transportpce_tests/hybrid/test02_B100G_end2end.py::TransportPCEtesting::test_049_check_no_ODU4_connection_xpdra2 FAILED transportpce_tests/hybrid/test02_B100G_end2end.py::TransportPCEtesting::test_050_check_no_interface_ODU4_NETWORK_xpdra2 FAILED transportpce_tests/hybrid/test02_B100G_end2end.py::TransportPCEtesting::test_051_check_no_interface_ODU4_CLIENT_xpdra2 FAILED transportpce_tests/hybrid/test02_B100G_end2end.py::TransportPCEtesting::test_052_check_no_interface_100GE_CLIENT_xpdra2 FAILED transportpce_tests/hybrid/test02_B100G_end2end.py::TransportPCEtesting::test_053_check_otn_topo_links FAILED transportpce_tests/hybrid/test02_B100G_end2end.py::TransportPCEtesting::test_054_check_otn_topo_tp FAILED transportpce_tests/hybrid/test02_B100G_end2end.py::TransportPCEtesting::test_055_create_100GE_service_3 FAILED transportpce_tests/hybrid/test02_B100G_end2end.py::TransportPCEtesting::test_056_get_100GE_service_3 FAILED transportpce_tests/hybrid/test02_B100G_end2end.py::TransportPCEtesting::test_057_check_service_list FAILED transportpce_tests/hybrid/test02_B100G_end2end.py::TransportPCEtesting::test_058_check_interface_100GE_CLIENT_xpdra2 FAILED transportpce_tests/hybrid/test02_B100G_end2end.py::TransportPCEtesting::test_059_check_interface_ODU4_CLIENT_xpdra2 FAILED transportpce_tests/hybrid/test02_B100G_end2end.py::TransportPCEtesting::test_060_check_interface_ODU4_NETWORK_xpdra2 FAILED transportpce_tests/hybrid/test02_B100G_end2end.py::TransportPCEtesting::test_061_check_ODU4_connection_xpdra2 FAILED transportpce_tests/hybrid/test02_B100G_end2end.py::TransportPCEtesting::test_062_check_interface_100GE_CLIENT_xpdrc2 FAILED transportpce_tests/hybrid/test02_B100G_end2end.py::TransportPCEtesting::test_063_check_interface_ODU4_CLIENT_xpdrc2 FAILED transportpce_tests/hybrid/test02_B100G_end2end.py::TransportPCEtesting::test_064_check_interface_ODU4_NETWORK_xpdrc2 FAILED transportpce_tests/hybrid/test02_B100G_end2end.py::TransportPCEtesting::test_065_check_ODU4_connection_xpdrc2 FAILED transportpce_tests/hybrid/test02_B100G_end2end.py::TransportPCEtesting::test_066_check_otn_topo_links FAILED transportpce_tests/hybrid/test02_B100G_end2end.py::TransportPCEtesting::test_067_check_otn_topo_tp FAILED transportpce_tests/hybrid/test02_B100G_end2end.py::TransportPCEtesting::test_068_delete_100GE_service_3 FAILED transportpce_tests/hybrid/test02_B100G_end2end.py::TransportPCEtesting::test_069_delete_ODUC4_service FAILED transportpce_tests/hybrid/test02_B100G_end2end.py::TransportPCEtesting::test_070_check_service_list FAILED transportpce_tests/hybrid/test02_B100G_end2end.py::TransportPCEtesting::test_071_check_no_interface_ODU4_xpdra2 FAILED transportpce_tests/hybrid/test02_B100G_end2end.py::TransportPCEtesting::test_072_check_otn_topo_links FAILED transportpce_tests/hybrid/test02_B100G_end2end.py::TransportPCEtesting::test_073_check_otn_topo_tp FAILED transportpce_tests/hybrid/test02_B100G_end2end.py::TransportPCEtesting::test_074_delete_OTUC4_service FAILED transportpce_tests/hybrid/test02_B100G_end2end.py::TransportPCEtesting::test_075_get_no_service FAILED transportpce_tests/hybrid/test02_B100G_end2end.py::TransportPCEtesting::test_076_check_no_interface_OTUC4_xpdra2 FAILED transportpce_tests/hybrid/test02_B100G_end2end.py::TransportPCEtesting::test_077_check_no_interface_OTSI_xpdra2 FAILED transportpce_tests/hybrid/test02_B100G_end2end.py::TransportPCEtesting::test_078_check_no_interface_OTSIG_xpdra2 FAILED transportpce_tests/hybrid/test02_B100G_end2end.py::TransportPCEtesting::test_079_getLinks_OtnTopology FAILED transportpce_tests/hybrid/test02_B100G_end2end.py::TransportPCEtesting::test_080_check_openroadm_topo_xpdra2 FAILED transportpce_tests/hybrid/test02_B100G_end2end.py::TransportPCEtesting::test_081_check_openroadm_topology FAILED transportpce_tests/hybrid/test02_B100G_end2end.py::TransportPCEtesting::test_082_connect_xpdra2_1_N1_to_roadma_PP2 FAILED transportpce_tests/hybrid/test02_B100G_end2end.py::TransportPCEtesting::test_083_connect_roadma_PP2_to_xpdra2_1_N1 FAILED transportpce_tests/hybrid/test02_B100G_end2end.py::TransportPCEtesting::test_084_connect_xpdrc2_1_N1_to_roadmc_PP2 FAILED transportpce_tests/hybrid/test02_B100G_end2end.py::TransportPCEtesting::test_085_connect_roadmc_PP2_to_xpdrc2_1_N1 FAILED transportpce_tests/hybrid/test02_B100G_end2end.py::TransportPCEtesting::test_086_create_400GE_service FAILED transportpce_tests/hybrid/test02_B100G_end2end.py::TransportPCEtesting::test_087_get_400GE_service FAILED transportpce_tests/hybrid/test02_B100G_end2end.py::TransportPCEtesting::test_088_check_xc1_roadma FAILED transportpce_tests/hybrid/test02_B100G_end2end.py::TransportPCEtesting::test_089_check_topo_xpdra2 FAILED transportpce_tests/hybrid/test02_B100G_end2end.py::TransportPCEtesting::test_090_check_topo_roadma_SRG1 FAILED transportpce_tests/hybrid/test02_B100G_end2end.py::TransportPCEtesting::test_091_check_topo_roadma_DEG1 FAILED transportpce_tests/hybrid/test02_B100G_end2end.py::TransportPCEtesting::test_092_check_interface_400GE_CLIENT_xpdra2 FAILED transportpce_tests/hybrid/test02_B100G_end2end.py::TransportPCEtesting::test_093_check_interface_OTSI_xpdra2 FAILED transportpce_tests/hybrid/test02_B100G_end2end.py::TransportPCEtesting::test_094_check_interface_OTSI_GROUP_xpdra2 FAILED transportpce_tests/hybrid/test02_B100G_end2end.py::TransportPCEtesting::test_095_check_interface_OTUC4_xpdra2 FAILED transportpce_tests/hybrid/test02_B100G_end2end.py::TransportPCEtesting::test_096_check_interface_ODUC4_xpdra2 FAILED transportpce_tests/hybrid/test02_B100G_end2end.py::TransportPCEtesting::test_097_check_interface_ODUFLEX_xpdra2 FAILED transportpce_tests/hybrid/test02_B100G_end2end.py::TransportPCEtesting::test_098_delete_400GE_service FAILED transportpce_tests/hybrid/test02_B100G_end2end.py::TransportPCEtesting::test_099_get_no_service FAILED transportpce_tests/hybrid/test02_B100G_end2end.py::TransportPCEtesting::test_100_check_no_interface_ODUC4_xpdra2 FAILED transportpce_tests/hybrid/test02_B100G_end2end.py::TransportPCEtesting::test_101_check_no_interface_OTUC4_xpdra2 FAILED transportpce_tests/hybrid/test02_B100G_end2end.py::TransportPCEtesting::test_102_check_no_interface_OTSI_GROUP_xpdra2 FAILED transportpce_tests/hybrid/test02_B100G_end2end.py::TransportPCEtesting::test_103_check_no_interface_OTSI_xpdra2 FAILED transportpce_tests/hybrid/test02_B100G_end2end.py::TransportPCEtesting::test_104_check_no_interface_400GE_CLIENT_xpdra2 FAILED transportpce_tests/hybrid/test02_B100G_end2end.py::TransportPCEtesting::test_105_disconnect_xponders_from_roadm FAILED transportpce_tests/hybrid/test02_B100G_end2end.py::TransportPCEtesting::test_106_disconnect_xpdra2 FAILED transportpce_tests/hybrid/test02_B100G_end2end.py::TransportPCEtesting::test_107_disconnect_xpdrc2 FAILED transportpce_tests/hybrid/test02_B100G_end2end.py::TransportPCEtesting::test_108_disconnect_roadmA FAILED transportpce_tests/hybrid/test02_B100G_end2end.py::TransportPCEtesting::test_109_disconnect_roadmC 109 failed in 1596.96s (0:26:36)